Select Method
The Select method changes the selection of items in the graphic window and brings the window to the front.
Example
; Create two plot lines in the same graphics window
p1 = PLOT(/TEST)
p2 = PLOT(randomu(seed,150), /OVERPLOT)
; Select the first plot
p1.Select
; Create two different graphics windows
p = PLOT(/TEST)
c = CONTOUR(/TEST)
; Bring the plot to the front
p.window.Select
Syntax
graphic.Select [, /ADD] [, /ALL] [, /CLEAR] [, /TOGGLE] [, /UNSELECT]
Arguments
None
Keywords
ADD
Set this keyword to 1 to add the graphic to the current set of selections. The default behavior is to replace the current selection set with the selected item.
ALL
Set this keyword to 1 to select everything within the graphic window.
CLEAR
Set this keyword to 1 to unselect all of the currently selected items.
TOGGLE
Set this keyword to 1 to toggle the selection state of the graphic - if the graphic was not selected then it will become selected, and vice versa.
UNSELECT
Set this keyword to 1 to unselect the graphic, leaving the rest of the selections unchanged.
Version History
8.0 |
Introduced |
See Also
GetSelect Method, GETWINDOWS, Order Method, Using IDL Graphics